From d9e7f3caaa269c3cf29bf6146edc4f062a71af56 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Thu, 29 Aug 2024 16:54:09 +0200 Subject: [PATCH] tests: give server a bit time to start up Closes: #1079984 (hopefully) --- debian/tests/http-api | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/tests/http-api b/debian/tests/http-api index 0a21ee06..3e2cbed0 100644 --- a/debian/tests/http-api +++ b/debian/tests/http-api @@ -9,6 +9,12 @@ sed --in-place 's/http_api_port = 0/http_api_port = 9020/' /etc/siridb/siridb.co echo '* restarting siridb-server' service siridb-server restart +echo '* touch res.txt' +touch res.txt + +echo '* sleep to let the server start up properly' +sleep 5 + echo '* run queries' echo ' get-version' curl --silent --show-error --location --output res.txt \ -- 2.30.2